﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="main.aspx.cs" Inherits="weixin.crm.main" %>

<!DOCTYPE html>
<html lang="en" style="overflow: hidden;">
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <title>主页</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <link rel="stylesheet" media="screen" href="css/style.css">
    <link rel="stylesheet" type="text/css" href="css/reset.css">
    <script src="css/jquery-2.1.0.min.js"></script>
    <script type="text/javascript">
        $(function () {
            var left = ($(window).width() - $(".item").width() * 3) / 4;
            $(".item").css("margin-left", left + "px");

            $.getJSON("api.ashx?Action=getfollowtype&rnd=" + Math.random(), function (data) {
                if (data.success == false) {
                    window.location.href = "login.aspx";
                }
            });
        });
    </script>
    <style>
        .item {
            width: 80px;
            height: 100px;
            float: left;
            background-color: #fff;
            z-index: 9999;
            position: relative;
            margin: 20px 0;
            border-radius: 10px;
            cursor: pointer;
            box-sizing: border-box;
        }

            .item img {
                width: 60px;
                height: 60px;
                margin: 10px;
                display: block;
            }

            .item span {
                width: 100%;
                text-align: center;
                display: block;
                font-weight: bold;
            }
    </style>
</head>
<body style="overflow: hidden;">
    <div class="item"><a href="sign.aspx">
        <img alt="" src="css/sign.png" /><span>微信打卡</span></a></div>
    <div class="item"><a href="worklogs.aspx">
        <img alt="" src="css/worklog.png" /><span>工作日志</span></a></div>
    <div class="item"><a href="workslist.aspx">
        <img alt="" src="css/workdp.png" /><span>工作点评</span></a></div>
    <%--<div class="item"><a href="list.aspx"><img alt="" src="css/list.png" /><span>外勤打卡</span></a></div>--%>
    <div class="item"><a href="kqlist.aspx">
        <img alt="" src="css/kqlist.png" /><span>考勤信息</span></a></div>
    <div class="item"><a href="qinjialist.aspx">
        <img alt="" src="css/qingjia.png" /><span>请假申请</span></a></div>
    <div class="item"><a href="jiabanlist.aspx">
        <img alt="" src="css/jiaban.png" /><span>加班申请</span></a></div>
    <div class="item"><a href="loudakalist.aspx">
        <img alt="" src="css/loudaka.png" /><span>漏打卡申请</span></a></div>
    <div id="particles-js">
        <div class="sk-rotating-plane"></div>
        <canvas class="particles-js-canvas-el" style="width: 100%; height: 100%;" width="1920" height="917"></canvas>
    </div>
</body>
</html>
